﻿<%@ page contentType="text/html;charset=UTF-8" autoFlush="true"%>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/sharedfilecategory.tld" prefix="sfcat"%>
<%@ taglib uri="/WEB-INF/qautil.tld" prefix="qautil"%>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link rel="stylesheet" rev="stylesheet" href="qa/css/main.css" type="text/css" media="all" />
    <link rel="stylesheet" rev="stylesheet" href="qa/css/displaytag/screen.css" type="text/css" media="all" />
    <title><tiles:getAsString name="ptitle"/>中国大型机行业联盟 - </title>
  </head>
  <body>
  	<div align="center">
    <!--MR Navigation导航-->
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="900">
        <tr >
            <td>
                   <tiles:insert attribute="mrnavigation"/>
            </td>
       </tr>     
    </table>
    <!--QA Navigation-->
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="900">
        <tr>
            <td>
                    <tiles:insert attribute="qanavigation"/>
            </td>
       </tr>     
    </table>
    <script type="text/javascript">
        var qachannel = "<tiles:getAsString name="qachannel"/>";
        function initQaChannel()
        {
            var qaChannelSpan;
            if("" != qachannel)
            {
                qaChannelSpan = document.getElementById(qachannel);
                if(qaChannelSpan != null)
                {
                    //var no = qaChannelSpan.no;
                    var no = qaChannelSpan.attributes['no'].nodeValue;
                    qaChannelSpan.className = "qachannelselected"+no;
                    alert(no);
                    if(no > 1)
                    {
                        var preNo = no-1;
                        //if(no == 4)preNo = 2;
                        var preQaChannelSpan = document.getElementById("qachannel"+preNo);
                        //preQaChannelSpan.className = "nobgqachannel"+no;
                    }
                    else
                    {
                    }
                }
            }
        }
        initQaChannel();
    </script>          
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="900">
        <tr>
            <!-- left -->
            <td>
                <jsp:include page="login-fragment.jsp"/>
                <div align="center">
                    <img src="qa/images/uploadfile.gif" border="0" alt="我要上传资料"/>
                </div>
                <br>
                <jsp:include page="sharedfile-rank-list.jsp"/>
            </td>
            <td width="5"></td>
            <!-- right -->        
            <td>
                <tiles:insert attribute="message"/>
                <!-- navigation link -->
                <div>
                    <html:link page="/sf.mrqa?action=list">共享资料</html:link>
                    <logic:present name="sfc" scope="request">
                        >&nbsp;<sfcat:insert resultKind="navilinks"/>
                    </logic:present>                
                </div>
                <!-- category link -->
                <div>
                </div>
                <!-- file list -->
                <div>
                </div>
            </td>
        </tr>
    </table>
    <br>
    <!--QA Footer-->
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="900">
        <tr>
            <td>
                    <!--QA footer-->
                    <tiles:insert attribute="qafooter"/>
            </td>
       </tr>     
    </table>   
    <!--Mr Footer-->
    <br>
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="900">
        <tr>
            <td>
                <!--MR footer-->            
                <tiles:insert attribute="mrfooter"/>
            </td>
       </tr>     
    </table>   
  </body>
</html>
